TARGET = libmodbusRTU.exe

.PHONY: all arm clean

arm:
	arm-linux-gnueabihf-g++ main.cpp modbus_rtu.cpp -o $(TARGET) -lmodbus -L/home/lux/OpenSource/libmodbus/__arm/lib -std=c++11

all:
	g++ main.cpp modbus_rtu.cpp -o $(TARGET) -lmodbus -L/home/lux/OpenSource/libmodbus/__install/lib -std=c++17

clean:
	rm ./*.exe